package com.czh.subject.domain.service;


import com.czh.subject.common.entity.PageResult;
import com.czh.subject.domain.entity.SubjectLikedBO;

/**
 * 题目点赞表 领域service
 *
 * @author caozaihui
 * @since 2024-09-14 11:31:23
 */
public interface SubjectLikedDomainService {

    /**
     * 添加 题目点赞表 信息
     */
    Boolean add(SubjectLikedBO subjectLikedBO);

    Boolean isLiked(String subjectId,String userId);

    Integer getLikedCount(String subjectId);

    void asyncLiked();

    PageResult<SubjectLikedBO> getMineSubjectLikedPage(SubjectLikedBO subjectLikedBO);
}
